/*
 * @Author: NJ_1098 xiabaoxin
 * @Date: 2025-02-12 17:35:31
 * @LastEditors: NJ_1098 xiabaoxin
 * @LastEditTime: 2025-02-19 16:45:59
 * @Description: 公共错误
 */
const PublicError = {
  systemError: {
    code: "10001",
    msg: "系统错误",
    data: null,
  },
  noFileError: {
    code: "10002",
    msg: "没有文件",
    data: null,
  },
  noSupportFileTypeError: {
    code: "10003",
    msg: "不支持的文件类型",
    data: null,
  },
  optionLackError: {
    code: "10004",
    msg: "缺少参数",
    data: null,
  },
  optionError: {
    code: "10005",
    msg: "未传入有效参数",
    data: null,
  },
  updateError: {
    code: "10006",
    msg: "数据更新失败",
    data: null,
  },
};

module.exports = PublicError;
